package cn.gzsxt.service.impl;

import cn.gzsxt.dao.TenantDao;
import cn.gzsxt.dao.impl.TenantDaoImpl;
import cn.gzsxt.po.Tenant;
import cn.gzsxt.service.TenantService;

public class TenantServiceImpl implements TenantService {
	
	//引入DAO层
	private TenantDao dao = new TenantDaoImpl();
	
	@Override
	public int addTenant(Tenant t) {
		return dao.insertTenant(t);
	}

}
